package com.test.base.dao;
import com.test.base.entity.NideshopCommentPicture;
import java.util.List;
import com.test.base.utils.Assist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface NideshopCommentPictureDao{
	/**
	 * 获得NideshopCommentPicture数据的总行数,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * @param assist
	 * @return
	 */
    long getNideshopCommentPictureRowCount(Assist assist);
	/**
	 * 获得NideshopCommentPicture数据集合,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * @param assist
	 * @return
	 */
    List<NideshopCommentPicture> selectNideshopCommentPicture(Assist assist);
	/**
	 * 获得一个NideshopCommentPicture对象,以参数NideshopCommentPicture对象中不为空的属性作为条件进行查询
	 * @param obj
	 * @return
	 */
    NideshopCommentPicture selectNideshopCommentPictureByObj(NideshopCommentPicture obj);
	/**
	 * 通过NideshopCommentPicture的id获得NideshopCommentPicture对象
	 * @param id
	 * @return
	 */
    NideshopCommentPicture selectNideshopCommentPictureById(Integer id);
	/**
	 * 插入NideshopCommentPicture到数据库,包括null值
	 * @param value
	 * @return
	 */
    int insertNideshopCommentPicture(NideshopCommentPicture value);
	/**
	 * 插入NideshopCommentPicture中属性值不为null的数据到数据库
	 * @param value
	 * @return
	 */
    int insertNonEmptyNideshopCommentPicture(NideshopCommentPicture value);
	/**
	 * 通过NideshopCommentPicture的id删除NideshopCommentPicture
	 * @param id
	 * @return
	 */
    int deleteNideshopCommentPictureById(Integer id);
	/**
	 * 通过辅助工具Assist的条件删除NideshopCommentPicture
	 * @param assist
	 * @return
	 */
    int deleteNideshopCommentPicture(Assist assist);
	/**
	 * 通过NideshopCommentPicture的id更新NideshopCommentPicture中的数据,包括null值
	 * @param enti
	 * @return
	 */
    int updateNideshopCommentPictureById(NideshopCommentPicture enti);
 	/**
	 * 通过辅助工具Assist的条件更新NideshopCommentPicture中的数据,包括null值
	 * @param value
	 * @param assist
	 * @return
	 */
    int updateNideshopCommentPicture(@Param("enti") NideshopCommentPicture value, @Param("assist") Assist assist);
	/**
	 * 通过NideshopCommentPicture的id更新NideshopCommentPicture中属性不为null的数据
	 * @param enti
	 * @return
	 */
    int updateNonEmptyNideshopCommentPictureById(NideshopCommentPicture enti);
 	/**
	 * 通过辅助工具Assist的条件更新NideshopCommentPicture中属性不为null的数据
	 * @param value
	 * @param assist
	 * @return
	 */
    int updateNonEmptyNideshopCommentPicture(@Param("enti") NideshopCommentPicture value, @Param("assist") Assist assist);
}